package cn.xrfzh.api.user.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class CaptchaDto {

    @NotBlank(message = "手机号或邮箱不能为空")
    @ApiModelProperty("手机号或邮箱")
    private String phoneOrEmail;

}
